package gui.dialog;

import javax.swing.JOptionPane;

/*
 * This class displays the winner dialog.
 * It's used when the player has won a game.
 */
public class WinnerDialog extends JOptionPane {

    public WinnerDialog(String playername) {
        super.showMessageDialog(null,
                playername + " is the winner!",
                "Winner!",
                super.PLAIN_MESSAGE);
    }
}
